﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace NPMonitor.DataModel
{
    [Serializable]
    public class JobFileInfo
    {
        public string FileName { get; set; }
        public string TypeName { get; set; }
        public string Version { get; set; }

        public Version FileVersion
        {
            get { return new Version(this.Version); }
            set { this.Version = value.ToString(); }
        }

        public IList<Scenario> Scenarios { get; set; }

        public JobFileInfo()
        {
            Scenarios = new List<Scenario>();
        }
    }
}
